'use strict';
const db = uniCloud.database()
exports.main = async (event, context) => {
	let res =await db.collection("hotSearch").get();
	let res2 =await db.collection("historySearch").get();
	//返回数据给客户端
	return {res,res2};
};
